package com.cloudy.s3.request;

import com.cloudy.exception.AWSAccessException;
import com.cloudy.impl.SuccessHandlerWithResponse;
import com.cloudy.s3.response.ListAllMyBucketsResult;

public class ListAllMyBuckets extends S3Request{
	
	public ListAllMyBuckets() {
		super(null, "GET");
		this.successHandler = new SuccessHandlerWithResponse();
	}

	public ListAllMyBucketsResult execute() throws AWSAccessException {
		return (ListAllMyBucketsResult) executeInner().getResponse();
	}

}
